﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Search.aspx.cs" Inherits="WebSite_CodeMan.Search" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>搜索_<%=Common.GetMes.GetRequestQuery(Request, "keys") %>_<%=WebMes[0] %></title>
    <meta name="keywords" content=<%=WebMes[1] %> />
    <meta name="description" content=<%=WebMes[2] %> />
    <link rel="shortcut icon" href="favicon.ico"  type="image/x-icon" /> 
    <link href="Css_Style/Default/Web.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="Web_Head">
        <div class="Head_Mes">
            <div class="Title">
               <%-- <%=WebMes[3] %>--%></div>
            <div class="Logo">
                <a href="../Index.html" title="<%=WebMes[0] %>">
                    <img src="../Images/logo_right.jpg" /></a></div>
        </div>
    </div>
    <div class="Web_Menu">
        <div class="Menu_Mes">
            <ul>
                <%=WebMes[5] %>
            </ul>
        </div>
    </div>
    <div class="Web_Note">
        <div class="Web_Content">
            <div class="NoteLeft">
                <div class="OtherMes">
                    搜索关键字 "<%=Common.GetMes.GetRequestQuery(Request, "keys") %>"，共获得[<%=PagerSearch.RecordCount %>]个结果...&nbsp;<a
                        href="Index.html">返回首页</a></div>
                <asp:Repeater ID="RpData" runat="server">
                    <ItemTemplate>
                        <div class="NoteTitle">
                            <a href="<%#Eval("T_ClassEnName") %>/<%#Eval("T_NoteID") %>.html" target="_blank">
                                <%#Eval("T_NoteTitle") %></a>
                        </div>
                        <div class="NoteMes">
                            <%#(Eval("T_NoteImage").ToString()=="noImage.gif"||string.IsNullOrEmpty(Eval("T_NoteImage").ToString()))?"":("<a  target=\"_blank\" href="+Eval("T_ClassEnName")+"/"+Eval("T_NoteID")+".html'><img src=../UpLoad/Images/Small/"+Eval("T_NoteImage")+" class=\"TopImage\" /></a>")%>
                            <%#Eval("T_NoteDes")%>
                        </div>
                        <div class="OtherMes">
                            <%#Eval("T_DateTime","{0:yyyy年MM月dd日 HH点mm分}")%>&nbsp; [<a target="_blank" href="<%#Eval("T_ClassEnName") %>/Index.html"
                                target="_blank"><%#Eval("T_ClassName") %></a>]&nbsp; 浏览:<%#Eval("T_BrowerCount") %>次&nbsp;
                            Tags:<%# WebSite_CodeMan.BaseClass.HtmlCommon.TagsKeyCommon(Eval("T_NoteKey").ToString(),Page) %>
                        </div>
                    </ItemTemplate>
                </asp:Repeater>
                <webdiyer:AspNetPager ID="PagerSearch" runat="server" CssClass="manu" OnPageChanged="PagerSearch_PageChanged"
                    PageSize="8" FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页"
                    Direction="LeftToRight" HorizontalAlign="Right" NumericButtonCount="5">
                </webdiyer:AspNetPager>
            </div>
            <div class="NoteRight">
                <%=strRightNote%>
            </div>
        </div>
    </div>
    <div class="Web_Foot">
        <div class="Foot_Note">
            <%=WebMes[4] %><br />
            Copyright 2010 All Rights Reserveds</div>
    </div>
    </form>
</body>
</html>
